

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using DualControl.RiskPoints.Dtos;
using DualControl.RiskPoints;

namespace DualControl.RiskPoints
{
    /// <summary>
    /// RiskPoint应用层服务的接口方法
    ///</summary>
    public interface IRiskPointAppService : IApplicationService
    {
        /// <summary>
    /// 获取RiskPoint的分页列表信息
    ///</summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<RiskPointListDto>> GetPagedRiskPoints(GetRiskPointsInput input);

		/// <summary>
		/// 通过指定id获取RiskPointListDto信息
		/// </summary>
		Task<RiskPointListDto> GetRiskPointByIdAsync(EntityDto<int> input);


        /// <summary>
        /// 导出RiskPoint为excel表
        /// </summary>
        /// <returns></returns>
		//Task<FileDto> GetRiskPointsToExcel();

        /// <summary>
        /// 返回实体的EditDto
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetRiskPointForEditOutput> GetRiskPointForEdit(NullableIdDto<int> input);

        //todo:缺少Dto的生成GetRiskPointForEditOutput


        /// <summary>
        /// 添加或者修改RiskPoint的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdateRiskPoint(CreateOrUpdateRiskPointInput input);


        /// <summary>
        /// 删除RiskPoint信息的方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task DeleteRiskPoint(EntityDto<int> input);


        /// <summary>
        /// 批量删除RiskPoint
        /// </summary>
        Task BatchDeleteRiskPointsAsync(List<int> input);


		//// custom codes
		 
        //// custom codes end
    }
}
